package com.beta.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("role_menus")
public class RoleMenus implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 角色ID */
	private Integer roleId;

	/** 菜单ID */
	private Integer menuId;

	/** 操作列表 */
	private String actions;


	public Integer getId() {
		return this.id;
	}

	public RoleMenus setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public RoleMenus setRoleId(Integer roleId) {
		this.roleId = roleId;
		return this;
	}

	public Integer getMenuId() {
		return this.menuId;
	}

	public RoleMenus setMenuId(Integer menuId) {
		this.menuId = menuId;
		return this;
	}

	public String getActions() {
		return this.actions;
	}

	public RoleMenus setActions(String actions) {
		this.actions = actions;
		return this;
	}

}
